public class Simulator {
    void playSound(Animal a){
        a.getAnimalName();
        a.cry();
    }
}
